package com.alibaba.citrus.cr.unified.inventory.functions.invoiceOrder;

import com.epoch.app.crunifiedinventory.dto.request.InvoiceOrderCreateRequest;
import com.epoch.app.crunifiedinventory.dto.request.InvoiceOrderDetailCreateDTO;

public class InvoiceOrderDetailFactory {
    public static InvoiceOrderDetailEntity create(InvoiceOrderCreateRequest invoiceOrderCreateRequest, InvoiceOrderDetailCreateDTO request) {
        InvoiceOrderDetailEntity entity = new InvoiceOrderDetailEntity();
        entity.createInvoiceOrderDetailSDO(invoiceOrderCreateRequest, request);

        return entity;
    }
}
